package com.roger.myHome.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roger.myHome.domain.TbExpenses;
import com.roger.myHome.entity.qto.ExpensesQry;
import com.roger.myHome.entity.vo.ExpensesVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Repository
public interface ExpensesMapper extends BaseMapper<TbExpenses> {
    List<ExpensesVo> page(ExpensesQry qryReq);

    Long totalSize(ExpensesQry qryReq);

    BigDecimal searchExpenseByDate(ExpensesQry qryReq);
}
